package com.xuecheng.api.course;

import com.xuecheng.framework.domain.course.response.CoursePublishResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@Api(value = "课程发布接口", tags = {"课程发布接口,是远程调用的cms服务中的页面发布接口"})
public interface CoursePublishControllerApi {
    /**
     * 课程发布接口,是远程调用的cms服务中的页面发布接口
     * @param courseid 课程id
     * @return 发布响应结果
     */
    @ApiOperation("课程发布接口")
    @ApiImplicitParams({
            @ApiImplicitParam(value = "需要发布的课程id",name = "id",paramType = "path")
    })
    CoursePublishResult publish(String courseid);
}
